#pragma once

#include "funpl.h"
#include <lean/strings/range.h>

namespace funpl
{

namespace util
{

/// Character range.
typedef lean::range<char*> char_range;
/// Cosnt character range.
typedef lean::range<const char*> const_char_range;

/// Makes an empty range.
inline char_range empty_char_range()
{
	return char_range(nullptr, nullptr);
}
/// Makes an empty range.
inline const_char_range empty_const_char_range()
{
	return const_char_range(nullptr, nullptr);
}

} // namespace

} // namespace